package com.keywaysoft.workflow.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 流程节点数据
 * @author zhaojx
 */
@Data
@ApiModel("流程节点数据")
//@Accessors(chain = true)
public class ProcessNode implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("节点key")
    private String nodeId;
    @ApiModelProperty("节点名")
    private String nodeName;
    @ApiModelProperty("代理人")
    private String assignee;
    @ApiModelProperty("候选用户ID集合")
    private String candidateUserIds;
    @ApiModelProperty("候选组ID集合")
    private String candidateGroupIds;

    public ProcessNode(String nodeId, String nodeName) {
        this.nodeId = nodeId;
        this.nodeName = nodeName;
    }
}
